@layout("/common/_tree_container.html",{plugins:["ztree"],js:["/assets/modular/system/cwZykm/cwZykm.js"],css:["/assets/common/css/beautiful.css"]}){
    <link rel="stylesheet" href="${ctxPath}/assets/common/css/pack.css?v=${constants.getReleaseVersion()}" media="all">
    <div class="layui-body-header">
        <span class="layui-body-header-title">装修科目表管理</span>
    </div>
    <style>
        .layui-form-label{
            width: 100px !important;
        }
        .layui-form-item .layui-inline{
            margin-bottom:0;
        }
        /* .layui-card-body {
        padding-bottom: 10px !important;
    } */
    </style>
    <div id="myContiner" style="height: 100%">
        <div class="ui-layout-west">
            <div class="box box-main">
                <div class="ui-layout-content">
                    <div id="kemuTree"></div>
                </div>
            </div>
        </div>
        <div class="ui-layout-center">
            <div class="layui-fluid">
                <div class="layui-row">
                    <div class="layui-col-md12">
                        <div class="layui-card">
                            <div class="layui-card-body">
                                <div class="layui-form toolbar marbot">
                                    <div class="layui-form-item">
                                        <div class="layui-inline">
                                            <label class="layui-form-label">科目名称</label>
                                                <div class="layui-inline lablew">
                                                <input id="searchname" class="layui-input" type="text" placeholder="科目名称"/>
                                            </div>
                                        </div>
                                        <div class="layui-inline">
                                            <button id="btnSearch" class="layui-btn layui-btn-sm">搜索</button>
    
    <!--                                        <button id="btnExp" class="layui-btn layui-btn-sm"><i class="layui-icon">&#xe67d;</i>导出</button>-->
                                        </div>
    
                                        <div class="layui-inline">
                                            <label class="layui-form-label">摘要科目名称<span style="color: red;">*</span></label>
                                            <div class="layui-input-inline">
                                                <input id="name" name="name" placeholder="摘要科目名称" type="text" class="layui-input" lay-verify="required" required/>
                                            </div>
                                        </div>
                                        <div class="layui-inline">
                                            <label class="layui-form-label">排序<span style="color: red;">*</span></label>
                                            <div class="layui-inline lablew">
                                                <input id="sort" name="sort" placeholder="排序" type="text" class="layui-input"  lay-verify="required" required/>
                                            </div>
                                        </div>
                                        <div class="layui-inline">
                                            <label class="layui-form-label">备注</label>
                                            <div class="layui-inline lablew">
                                                <input id="remark" name="remark" placeholder="备注" type="text" class="layui-input" />
                                            </div>
                                        </div>
                                        <div class="layui-inline">
                                            <button class="layui-btn layui-btn-sm" lay-filter="btnSubmit" lay-submit>添加</button>
                                        </div>
                                    </div>
                                </div>
                                <table class="layui-table" id="cwKjkmTable" lay-filter="cwKjkmTable"></table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script type="text/html" id="tableBar">
        {{# if(d.level !=""&&d.level !="0"){ }}
        <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
        {{# } }}
    </script>
    <script id="statusTpl" type="text/html">
        {{#  if(d.level == "1"){ }}
        一级科目
        {{#  }else if(d.level == "2"){ }}
        二级科目
        {{#  }else if(d.level == "3"){ }}
        三级科目
        {{#  } }}
    </script>
    @}